<me:UIWFN x:Class="WPFExcelReport.TBTNEXE"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIWFN.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
    </me:UIWFN.Resources>
    <WrapPanel>
        <Button Margin="20,0,0,0" Click="ManageCommand" Width="12" Height="20" 
               Visibility="{Binding IsMaster,Converter={StaticResource bv}}">
           <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Extend.png" />
            </Button.Background>
        </Button>
        <Button Content="{Binding INFO, ElementName=TV}" Click="ManageCommand"
                Width="Auto" MinWidth="80"
                Visibility="{Binding IsInfo,ElementName=TV,Converter={StaticResource bv}}"/>  
    </WrapPanel> 
</me:UIWFN>
